<%--
  Created by IntelliJ IDEA.
  User: shanpengfei
  Date: 2019/3/3
  Time: 10:36 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>登录</title>
    <style>
        .user-content-bg {
            box-sizing: border-box;
            padding: 300px 0;
            width: 100%;
            height: 100%;
            background: url("/gyp/images/bg.jpg") center;
            background-repeat: no-repeat;
            background-size: cover;
        }
        .user-content-bg .user-content {
            margin: 0 auto;
            padding: 30px 46px;
            width: 300px;
            background: rgb(140, 160, 190);
        }

        .user-content-bg .user-content .register-form input {
            margin: 5px 0;
            width: 300px;
            height: 40px;
        }
        .user-content-bg .user-content .register-form input[type="submit"] {
            width: 60px;
            height: 30px;
            border-radius: 5px;
            border: 1px solid rgb(66, 145, 240);
            background: rgb(66, 145, 240);
            color: #fff;
        }
    </style>
</head>
<body>
<div class="user-content-bg">
    <div class="user-content">
        <div class="register-form">
            <form action="/gyp/user/login" method="post">
                <input type="text" name="username" placeholder="用户名"><br>
                <input type="password" name="password" placeholder="密码"><br>
                <input type="submit" value="登录">
            </form>
        </div>

        <c:if test="${status==1}">用户名错误</c:if>
        <c:if test="${status==2}">密码错误</c:if>
    </div>
</div>
</body>
</html>
